package org.example.message;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

public class CourseOperateMessage {

    private static final Logger logger = LogManager.getLogger(CourseOperateMessage.class);

    public static void courseAlreadyExist() {
        logger.info("课程信息已存在！！！");
    }

    public static void courseNoExist() {
        logger.info("课程信息不存在！！！");
    }

    public static void courseAddFailed() {
        logger.info("添加失败！！！");
    }

    public static void courseAddSuccess() {
        logger.info("添加成功！！！");
    }

    public static void courseAlreadySelectedByStudent() {
        logger.info("该课程已选！");
    }

    public static void courseNotSelectedByStudent() {
        logger.info("该课程未选！");
    }

    public static void selectCourseSuccess() {
        logger.info("选课成功！");
    }

    public static void selectCourseFailed() {
        logger.info("选课失败！");
    }

    public static void dropCourseSuccess() {
        logger.info("退课成功！");
    }

    public static void dropCourseFailed() {
        logger.info("退课失败！");
    }

}
